package com.dao;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户实体类
 */

@Data
@TableName("sys_user")
public class SysUser {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String account; //账号

    private Integer admin; //是否管理员

    private String avatar; //头像

    private LocalDateTime createTime; //注册时间

    private Integer isDeleted; //是否删除

    private String email; //邮箱

    private LocalDateTime lastLogin; //最后登录时间

    private String mobilePhoneNumber; //手机号

    private String nickname; //昵称

    private String password; //密码

    private String salt; //

    private String status; //状态

    private LocalDateTime updateTime; //注册时间
}
